<?php
/**
 *
 * @authors  Ysg (y.shi.guo@gmail.com)
 * @website  http://ysg.bonza.cn
 * @date     2017-08-10 14:44:13
 */

class Context
{
    private $strategy = null;

    function __construct(Strategy $strategy){
    	$this->strategy = $strategy;
    }
    public function executeStrategy()
    {
    	$this->strategy->method();
    }
}
